repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Namespacing everything to /UVa.
[andmenj-acm.git]
/
UVa
/
11512 - GATTACA
/
genInput.rb
blob
71021e120b9c1176bf1e8918187503971ad6d601
1
puts 100
2
for i in (1..1)
3
for j in (1..10000)
4
k = rand(5)
5
print "A" unless k != 0;
6
print "C" unless k != 1;
7
print "G" unless k != 2;
8
print "T" unless k != 3;
9
end
10
puts ""
11
end